package com.movitech.mobile.cz.base.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.Version;
import com.movitech.mobile.cz.base.modules.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * <p>
 * 消息模板
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("s_message_template")
@ApiModel
public class SMessageTemplate extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;
    /**
     * 消息类型
     */
    @ApiModelProperty(value = "消息类型")
    @TableField("msg_type")
    private Integer msgType;
    /**
     * 消息标题
     */
    @ApiModelProperty(value = "消息标题")
    @TableField("msg_name")
    private String msgName;
    /**
     * 消息内容
     */
    @ApiModelProperty(value = "消息内容")
    @TableField("msg_content")
    private String msgContent;
    /**
     * 模板变量
     */
    @ApiModelProperty(value = "模板变量")
    @TableField("msg_variables")
    private String msgVariables;
    /**
     * 模板状态
     */
    @ApiModelProperty(value = "模板状态")
    @TableField("msg_status")
    private Integer msgStatus;


}
